package cn.gdrj.est.service.impl;

import cn.gdrj.est.service.BrandClassifyRelationService;
import cn.gdrj.est.constants.Constants;
import cn.gdrj.est.dao.BrandClassifyRelationDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 品牌类别关系业务组件
 *
 * @author jun
 * @date 2021/11/8
 */
@Service
public class BrandClassifyRelationServiceImpl
        implements BrandClassifyRelationService {

    @Autowired
   private BrandClassifyRelationDao brandClassifyRelationDao;

    @Override
    public List<Long> listBrandIdsByClassifyId(Long classifyId) {
        return brandClassifyRelationDao
                .listBrandIdByClassifyId(classifyId, Constants.EST_NOT);
    }
}
